package com.info.zhiduoduo.repository.dto.partner;

import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)  //setter return this;
@ToString
public class PartnerAndCompanyRelationshipDto {

	//ID
	private int id;
	//合伙人ID
	private int partnerid;
	//合伙人名称
	private String realname;
	//合伙人手机号
	private String phone;
	//计佣类型：1.合伙人，2.项目服务费
	private int type;
	//佣金比例
	private double ratio;
	//合伙期限
	private Date expiredate;
	/** 状态 1:正常 2:停止 */
	private int state;

	/**合伙人分润开始日期*/
	@ApiModelProperty("合伙人分润开始日期")
	private Date shareBenefitDate;

}
